package io.renren.modules.bmx.service;

import com.baomidou.mybatisplus.extension.service.IService;
import io.renren.common.utils.PageUtils;
import io.renren.modules.bmx.entity.CartypeEntity;
import io.renren.modules.bmx.vo.CartypeVo;

import java.util.List;
import java.util.Map;

/**
 * 车型
 *
 * @author HuangKexiang
 * @email yesjava@126.com
 * @date 2021-02-20 01:46:29
 */
public interface CartypeService extends IService<CartypeEntity> {

    PageUtils queryPage(Map<String, Object> params);

    /**
     *  根据userId 查询改用户对应的数据权限：包括车型、科目、题型、套题
     * @param userId
     * @return
     */
    public List<CartypeVo> findUserAllLevels(Long userId);
}

